package com.example.demodb.repository;

import com.example.demodb.entity.SysAccount;
import com.example.demodb.entity.UserAdvice;
import org.springframework.data.jpa.repository.JpaRepository;

public interface ISysAccountRepository extends JpaRepository<SysAccount, Integer> {

    SysAccount findByAccountNameAndPassword(String accountName, String password);

    SysAccount findByAccountName(String accountName);

    SysAccount findByPhone(String phone);
}
